import { createSSRApp } from "vue";
import "@/styles/index.scss"

import * as Pinia from 'pinia'
import "./permission"

import App from "./App.vue";
export function createApp() {
  const app = createSSRApp(App);
  app.use(Pinia.createPinia());
  return {
    app,
    Pinia
  };
}
